package cn.tianya.irock.data.idal;

import java.util.List;

import cn.tianya.irock.enums.ApplicationType;
import cn.tianya.irock.security.PermissionBase;

public interface IPermissionDataProvider {
	List<PermissionBase> getPermissions(int siteSettingsId, ApplicationType type);
	PermissionBase getPermission(int settingsId, int sectionId, int roleId);
	
	void add(List<PermissionBase> permissions);
	void update(List<PermissionBase> permissions);
	void delete(List<PermissionBase> permissions);
}
